package com.heima.wemedia.receive.pojos;

import lombok.Data;

import java.util.Date;
@Data
public class Comment {
    /**
     *文章id
     */
    private Long id;
    /**
     *文章名称
     */
    private String title;
    /**
     *作者id
     */
    private Long articleId;
    /**
     *评论状态
     */
    private Integer isComment;
    /**
     *创建时间
     */
    private Date createdTime;


    public enum NumberConstants {
        ZERO(0),
        ONE(1);
        private final int value;

        NumberConstants(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }
}
